More cleanups and minor fixes for Customize.
authorChong Yidong <cyd@stupidchicken.com>
Mon, 11 Oct 2010 04:49:59 +0000 (00:49 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 11 Oct 2010 04:49:59 +0000 (00:49 -0400)
commit3e7d025fed8a42e21af1ef802512c7e9b28c62d6
tree591d8f4d0ea523487c23490799f72e924406ee71
parentafb2751e9ae622d09a5155ef920e7d3a5aebc6a1
More cleanups and minor fixes for Customize.

* cus-edit.el (custom-face-edit-fix-value): Use
custom-fix-face-spec.

* custom.el (custom-push-theme): Cleanup (use cond).
(disable-theme): Recompute the saved-face property.
(custom-theme-recalc-face): Follow face alias before setting prop.

* custom.el (custom-fix-face-spec): New function; code moved from
custom-face-edit-fix-value.
(custom-push-theme): Use it when checking if a face has been
changed outside customize.
(custom-available-themes): New function.
(load-theme): Use it.

* image.el (image-checkbox-checked, image-checkbox-unchecked): New
variables, containing checkbox images.

* startup.el (fancy-startup-tail):
* wid-edit.el (checkbox): Use them.
lisp/ChangeLog
lisp/cus-edit.el
lisp/custom.el
lisp/image.el
lisp/startup.el
lisp/wid-edit.el